import java.util.List;

import models.Product;
import play.jobs.Job;
import play.jobs.OnApplicationStart;
import play.test.Fixtures;


@OnApplicationStart
public class Bootstrap extends Job {

	public void doJob(){
		/*if (Product.count() == 0){
			Fixtures.loadModels("init_db.yml");
			List<Product> products = Product.findAll();
			
			for(Product p : products){
				// TODO: Add a dummy image to the product.
			}			
		}*/
	}
}
